releasetools: Use fixed timestamp in

We were using zipfile.write() to write system/etc/security/
when signing for release. It led to unexpected timestamp change in the
generated and non-idempotent signed images when signing the

Replace with common.ZipWrite() to always use a fixed timestamp.

Bug: 28122968
Change-Id: Ia6cf4b7d380cbf72ed7050ebb60c932dc8826d87
(cherry picked from commit 7ee3a9678e7191c48f0ba4e04792fe97925c1aa1)
1 file changed