Close orig stdout, stderr, when logging to file