(perror): Use __close instead of close.