Fix DIZ extraction/use for FTP uploads

1. Was not setting f->dir to the correct directory number, so only ftp-uploads to the *first* directory (dirnum = 0) would extract DIZ files of uploaded files.

Removing the 'dirnum' parameter to addfile() since that implied that you did not have to initialize the 'dir' element of the passed file_t, but you do: to get the correct file path for file size/date detection and the DIZ extraction.

2. Was getting heap-corruption when freeing the imported/formatted DIZ text on Windows once the above problem was fixed: can't free() in one DLL memory that was allocated in another DLL. Created and now using free_diz() to free the memory allocated in read_diz().

format_diz() handles a NULL 'lines' argument correctly/gracefully, so no need for the NULL lines check in sbbs_t::uploadfile().

Added FTP server log messages for successful file upload or update by user.
14 jobs for master in 9 minutes and 44 seconds (queued for 11 seconds)
Status Job ID Name Coverage
  Build
passed #34997
FreeBSD
jsdoor-freebsd

00:03:57

passed #34998
Linux
jsdoor-linux

00:06:28

passed #35000
FreeBSD
jsdoor-windows

00:01:54

passed #34992
FreeBSD
sbbs-freebsd

00:05:25

passed #34987
Linux
sbbs-linux

00:09:40

passed #34990
Windows
sbbs-windows

00:05:13

passed #34999
FreeBSD
sexpots-freebsd

00:00:12

passed #34988
Linux
sexpots-linux

00:00:26

passed #34991
Windows
sexpots-windows

00:00:27

passed #34995
FreeBSD
syncdraw-freebsd

00:00:27

passed #34996
Linux
syncdraw-linux

00:01:04

passed #34993
FreeBSD
syncterm-freebsd

00:01:06

passed #34989
Linux
syncterm-linux

00:02:56

passed #34994
FreeBSD
syncterm-windows

00:01:48