def int_formatter(i):
    """
    Int formatter (%d)
    :param i: The integer to format
    :return: The string representation of i to be saved to file with a newline appended
    """
    return '%d\n' % i