'Generate a tuple of list of stats and list of file contents.'

@classmethod
def _GenFileData(cls, paths, data, stats=None, files=None, modes=None):

    if (stats is None):
        stats = []
    if (files is None):
        files = []
    if (modes is None):
        modes = {}
    modes.setdefault('st_uid', 0)
    modes.setdefault('st_gid', 0)
    modes.setdefault('st_mode', 33188)
    for path in paths:
        p = rdf_paths.PathSpec(path=path, pathtype='OS')
        stats.append(rdf_client.StatEntry(pathspec=p, **modes))
    for val in data:
        files.append(StringIO.StringIO(val))
    return (stats, files)
