Encapsulated path to cope with special chars

This will prevent failure in the case of spaces, punctuation etc. in the path (picked up from __dirname)