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

Change-Id: Idd1fe4933dc634521fda3d369ac934adc954b0ac