Fixes the wrong use of DS constant on redirection. This was
affecting windows servers where the DS constant is \ instead
of / on linux.
Merge branch 'hotfix/fix-ds'