Implemented first PoC

You're right. Also [ioutil.WriteFile](http://golang.org/pkg/io/ioutil/#WriteFile) uses the order you are suggesting. Will change it.