Revert "FileUtils::normalize_path bugfix when path ended in '/..'"

This reverts commit 2a6c05d6a3e273b43d98c0542bf2bc66e9cf721c.