Remove unused rename code

The code that attempts to rename the generated zip file is a no-op
since the new and old names are the same.

Also fixed a couple of typos.

Test: adb shell /data/nativetest64/dumpstate_test/dumpstate_test
Change-Id: I5054e141a8248add15d7ad5a9ef7c40a01c939cd
2 files changed