This is a workaround for strange entries in sys.path; either dirs that don't exist, or are in unicode.