FIX: NoMethodError in on extension.upcase when upload's original filename has no extension.
Merge pull request #2554 from Elberet/fix-upload-validator

FIX: NoMethodError in on extension.upcase when upload's original filenam...