Fix a traversal in folder creation.

Make setup.py extract the version string from the main script.