Fix #228.

Apparently this is an issue with os.path.join. I hope this will fix it.
Will wait for confirmation.