Remove fdopen dependency

The external fdopen library is no longer required since it has been
implemented in PHP 5.3. See: https://bugs.php.net/bug.php?id=53465