Correct the directory ending constant

Accidentally used DOCUMENT_SEPARTOR instead of DIRECTORY_SEPARATOR.
This commit fixed this issue.