def _stored_data_paths(wf, name, serializer):
    """Return list of paths created when storing data"""
    metadata = wf.datafile(".{}.alfred-workflow".format(name))
    datapath = wf.datafile(name + "." + serializer)
    return [metadata, datapath]