And if its true then you were erroring out, so the output files had to have a DIR component to them, if it didnt you got !$isdir($nofile($2)) aka !$isdir($null) aka $true and errored.
I only picked it up because i tried $split(bigfile.txt,dump) and it errored out.