Fix for windows platforms

As stated in http://www.silverstripe.org/general-questions/show/24715#post323782 that line of code wasn't quite working for me so I did the change and it worked.

DIRECTORY_PATH was purpously avoided to ensure path normalizarion