Use platform independent path separators in src/dedup.js

`npm dedupe` fails silently on windows due to incorrect path splitting and joining without these changes.

This pull fixes that, let me know if there's anything I should change to get it merged.