Add support for absolute path
Changed return values for existing methods write_file and create_dir
Add some more tests to improve test suite