Fix path encoded path in dir chooser