Bugfix and new feature

Feature: programmatic access to versioning file
Bugfix: previous commit didn't work on Windows
Please note: new features are windows-only for now.