update-perl-modules.sh: Copy output to a log file

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>