Adding ext option.

Adding ext option to determine the extension of the destination
files. The default is '.html'

closes #52