BF - fix fit-tensor handling of file extensions and mask=none

Some fixes to the behavior of the fit-tensor script.