Change paths to use os.path.join

This should be more robust and should work better with Windows too.
More robust file handling

This depends on some new features of Python 3.
Bump version