Rename write to writeFile
Prepare 0.5.0 release