Remove auto-adding extension to file name
Fix calculating file name when name is blank
Merge pull request #3 from mjaneczek/master

Remove auto-adding extension to file's name