Livesync fixes and improvements

* Execute chmod only once per file/directory 
* Rewrite childProcess.exec function - adb shell hides the errors so more debug info is printed
* Fix failed mkdir -p on old android versions