def split_fields(fields_str, fieldwidth=8):
    """Split `fields_str` into fields of length `fieldwidth`
    """
    fields = []
    for start in range(0, len(fields_str), fieldwidth):
        stop = start + fieldwidth
        fields.append(fields_str[start:stop])
    return fields
