ModifySet: Parse the permission

Implemented test cases as well.
Merge pull request #8 from Shaky777/newbranch

More implementation code for ModeParser
Create ContentModifier
Create wrappers for streams and readers/writers

We need to; we don't want rename to happen if there was any I/O errors during
read and/or write.