C #238 remove special-case for STDOUT

fixes issue #238,
special filehandle STDOUT is now properly re-initialized