flux-kvs: kvs dir on non-directory is fatal

fixes #29