Adds version to generated Modulefile files.

Closes #506