Remove fileno call.