appium/appium — pull request #1030 by tborys (2013-08-21 15:03:52+00:00)
Title: Remove *.app/*.apk/ file and Payload folder before appium starts to unzip file. 

Added fix to remove app/apk files from zipPath before appium starts to unzip them in case these files/folders exist already in the directory. If this is *.app located in Payload folder then folder is being removed too. Fix is done because fruitstrap sometimes failes to install app file on the device from /var/folders/...