handle PUT/POST/DELETE to /data/fs/[path] (Fixes #140)

Replacing the earlier PR (#152)
This style (which I of course started) is slowly reaching the end of its usefulness. In future work we should just generate a typed data structure for every request which represents the response, and then make sure it has a JSON codec.