Fixed logging - paths were being escaped when the shouldn't