Fix encoding on import on Windows (issue #2)