SSP-2436 Altering tests and code to be Windows friendly

- Leverage java.io.tmpdir system property instead of using /tmp
- Fix the windows delete file issue
- Fixed a couple of typos