Remove the extension in the MediaPublicUri