Fix error in tests on Windows

Stubbed paths must account for platform differences in separator
characters.

Resolves gh-1931
Bump sinon to 1.12.x.