Allow the post file extension to be given in the generate command.
Merge pull request #35 from tamouse/issue_33

Allow the post file extension to be given in the generate command.