Escaping special characters in directory