Do DECREF after fdopen