Allow named pipe as input file

This allows the user to run
rankmirrors <(sed 's/^#//' /etc/pacman.d/mirrorlist.pacnew) > mirrors