Clear exceptions if PyFile_Dup() fails -- we have a way to handle "non-real" file objects.