Make sure allocated string is null terminated.
Make sure allocated string is null terminated.

This ensure no unassigned value is used in tsdfx_copy_wrap()
when a scanned directory contain no files.

dag-erling/tsdfx,dag-erling/tsdfx,petterreinholdtsen/tsdfx,abdulrahmanazab/tsdfx,petterreinholdtsen/tsdfx,dag-erling/tsdfx,abdulrahmanazab/tsdfx,petterreinholdtsen/tsdfx