Fix isTempName to work on Windows (fixes #80)

```path.Base()``` is for slash-separated paths, whereas Windows uses "\" to separate paths. Just convert the \ to / and it works.