Move safe_write to utils
First version of SingleFileStorage
Add another testcase
Remember order of items
Hash items resilient against formatting