srand() inside a forked child before making any calls to the
    libclamav functions. This will avoid possible collisions with temporary
    filenames created by other processes of the daemon. This procedure
    is not required for multi-threaded daemons.