is_file was moved to PathExtensions trait, so import that