Doubly escape paths to work around net/url lib issue