Add script to create zip
Workaround for chmod() not available in PRB
Code a little bit cleaner
Workaround for file_put_contents() not available in PRB