Merge "init: errno handling in create_file"