Fix startWrite for cases where multiple levels parent directory is missing.

This now matches android.util.AtomicFile#startWrite() which got fixed in
https://googleplex-android-review.git.corp.google.com/#/c/612161/

Bug: 26692786
Change-Id: Iba65e7dceee276f052514011a2fcf3da45963e7c
1 file changed