BUG: include takeBaseName in System.FilePath import

Build fails otherwise because takeBaseName is out of scope