Fixed calls to removed file_descriptor::operator bool