Check for EINVAL from a rename error call in addition to ENOENT because