fix internal way of creating SpooledDirectoryTransfer (cleaner)