Perl script to dump all photos from a WordPress powered blog