Avoid invalid relative paths on Windows, fixes the latest issue mentioned in #12.