Add option for specifying output file extension

This is useful for example when you want to create php files but you would like to use jade.