Adds noTail support to Fileutils.cleanupPath()