Make sure tests get realistic pathnames on Windows