Fix issues when starting portable from a non-ascii path (#761)