workaround IO#reopen bug in rbx when reopening logs