Fix for unwritable external_sd

Change-Id: If4adb592d1e150e53c26d0e685ded385110ebe14