Avoid blind chmod on android_cmd

Check for the missing exec bit before attempting to change it instead.
Merge pull request #116 from manuelbua/check-before-chmod

Fix #115