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

Change-Id: Iebbbaa3b46a8173d0f49bb6e45dc001932b61a0d