The script lib/pv.sh does not handle input file names with spaces correctly. The attached patch fixes the problem and also adds use of mktemp for the temporary file (only if mktemp is present).
Created attachment 3155 [details] Allow input file names with spaces
Fixed in SVN rev 8104.