We've found signing can be run where truncate is not available. Error: No such file or directory: 'truncate' Use python's truncate() instead. Bug: 193504286 Test: atest sign_virt_apex_test Change-Id: I9c8a78ba381274b406ba509f5f3f7ddd049bd60f