Fixed error in fileutils:splitPath()