Fixed ApkHandler to write out valid ZIP/APK files. We now also automatically remove signature files since they become invalid due to the change anyway.