intercept all uses of fs path to be able to rewrite them in tests