Replaced slashes with file.separator in order to pass the test also on Windows.
Unfortunately I cannot test it on Linux.

Signed-off-by: Diego Costantini <diego.costantini@gmail.com>
Merge pull request #410 from cowst/bug/separators

Replaced slashes with file.separator in order to pass a test on Windows