Apply a filter list to the contents of a file on disk
buffer into which to store the filtered file
the list of filters to apply
the repository in which to perform the filtering
the path of the file to filter, a relative path will be taken as relative to the workdir
0 or an error code.