fixed CTempFile throwing