pfdviewer.py: improved pfdviewer handling when input file has only one candidate