'writes the progress
:param args: args is a dictionary containing \'percent\', \'message\''

def write(self, args):

    percent = args.get('percent', 0)
    message = args.get('message', '')
    if percent:
        progress = _format_value(message, percent)
        self.out.write(progress)
