Fixed file opening mode for backup log.