Merge "init: Make 'write_file' return bool to match 'read_file'." am: 3553ae73fb
am: 2115424df1

Change-Id: I4711a702bfcfeba99933774fde62d7c124fabf12