Fixes "ReferenceError: path is not defined" from filesystemadaptor

This issue might pop up in other places, but this is the only one I've hit so far.