mime-qprint.sh: Fix ? processing and input from stdin