Change reopen of old log file to be O_WRONLY and O_APPEND in case of
failed rename