sets the extension if options are passed but without defining one
sets strict mode for the function
complies with jshint strict warnings wrt for…in
bumps patch version
Merge pull request #6 from leo-fr8mate/fix-undef-extension

Fix undef extension