Merge "Create out dir if it does not exist." am: bd491d9de7 am: 21ff43c134

Original change: https://android-review.googlesource.com/c/platform/development/+/1646655

Change-Id: I71ef5a85fed6b89b341fb2363e7496448977a93b