[PATCH 1/3] vircommand: Use closefrom() more often