RealFilesystem fs proxy was only passing the first argument to the fs methods. For example, it wouldn't pass along the encoding parameter for readFile