Fix exception name in fallback fileno()