Fsencode the path to the update directory.

This should help make the updater work on non-ASCII systems.