wrap all closeables in a try finally block
when shell creates a tachyonfs, register it for closing when shell closes
Merge pull request #371 from dcapwell/shell-close

wrap all closeables in a try finally block