Fix copy image with extension in uppercase