fixes uploading files with uppercase ext