Added writing functionality.
Merge branch 'master' of github.com:antmicro/FdtSharp