fix random dumb os.path errors