Golang file reading and writing utilities I've written