In fact, this will likely break running against a device on Windows, because `os.path.sep` will be `\` and that will not work on the device.