pull out the _splitpath guff