Allow changing the file extension
Merge pull request #4 from MartinKolarik/extension

Allow changing the file extension