Utility function that creates an asset with the specified asset path and name. If the asset cannot be created (as one already exists), we try to postfix the asset name until we can successfully create the asset.