commit: pass ChangingFiles object as argument to _process_files

Instead of returning it, we pass it as an argument. This makes the whole if-else
in `_prepare_files` a bit simpler. Else each if-else branch was creating the
13 jobs for topic/default/merge-newnode-final in 41 minutes and 12 seconds (queued for 2 minutes and 11 seconds)