Merge "Add check that dexlayout can open output file."