Revert "Ensure that paths keep their original encoding"

This reverts commit 6cc442e3873760d3fdf775043d98450f8172f066.