int is_dup_filename(const char *newname);