update appexe util method to work with py2app
Merge pull request #2 from peterbrook/master

update appexe util method to work with py2app