rewrite getWorkingDirectory to use allocaBytes for exception safety
Merge pull request #32 from redneb/getcwd-exn-safe

rewrite getWorkingDirectory to use allocaBytes for exception safety