We should turn on Perl's autoflush. This way messages like 'Downloading file ...' without a \n will be printed out.