Added Url decoding when getting path

This should fix issues with old projects not working in C