Allow users to control new file extension

I needed to change the output file `.html` extension; Add a default of .html but allows users to change.
Merge pull request #5 from bordoni/patch-1

Allow users to control new file extension