update to v0.1.2.0

* add writeFile' function
* add some type conversion functions
* update documentation
* fix some typos in documentation in readme