Fix TempFiler and copy()