Merge "Add mode bits to a call to open with O_CREAT" am: 294f7312dd
am: 990c4c611b

Change-Id: Ic77fc180ce60be530344aa0f9e6176c7a056f132