Some fix on exception with SpooledDirectoryTransfer