'If a file argument was passed to `parse_args` make sure output goes there.'

def _print_message(self, message, file=None):

    if self.file:
        file = self.file
    super(ArgumentParser, self)._print_message(message, file)
