The length check in make_file() doesn't need to subtract pathname_len