Actually, it was just forwarding the paths (as String) from DirCacheCheckout in my first iteration of this... Matthias Sohn then suggested to change it to File instead. Your comments make a lot of sense, so I guess we should change it back, right?