adding write to FS commands
added test for FS
Merge pull request #14 from yanhick/fs

Fs