Change to make removeWorkDir() platform independent

Minor PSR-2 tweak to createWorkDir()
Changed removeWorkDir() to use platform-independent rmdir() and unlink() with recursive SPL iterator