Fixed root directory return method in Util.cs.