SignApk: perform the whole file signature in a single streaming pass.

Change-Id: Ia29fbc9246254028c75cb57c54cf82ac124c44d0