windows fix with file-object path, fixed #132