Fixed premature FD closing on spliced stderr pipe to log file.