Merge pull request #2497 from yazuu/upload

Upload : change the file extension to lower case