Use m_tempfile instead of mktemp in attach/recvattach