Print the error message to the file in the specified color.

  Args:
    msg: The error message to be printed.
    color: Optional colorama color string to be applied to the message. You can
        concatenate colorama color strings together here, but note that style
        strings will not be applied.
    file: A file object to which the baracketed text will be written. Intended
        for use with CLI output file objects, specifically sys.stderr.

def error_print(msg, color=colorama.Fore.RED, file=sys.stderr):
  """Print the error message to the file in the specified color.

  Args:
    msg: The error message to be printed.
    color: Optional colorama color string to be applied to the message. You can
        concatenate colorama color strings together here, but note that style
        strings will not be applied.
    file: A file object to which the baracketed text will be written. Intended
        for use with CLI output file objects, specifically sys.stderr.
  """
  if CLI_QUIET:
    return
  file.write('{sep}{bright}{color}Error: {normal}{msg}{sep}{reset}'.format(
      sep=_linesep_for_file(file), bright=colorama.Style.BRIGHT, color=color,
      normal=colorama.Style.NORMAL, msg=msg, reset=colorama.Style.RESET_ALL))
  file.flush()