Fix the encoding of user paths