Re open stdout/stderr as null output to fix libraries flushing on them