On Windows, guard against inadvertant conversion of path to unicode