Fix the read-rif utils so that it reads correctly rif coming from prog with no input.

3 jobs for master in 7 minutes and 22 seconds (queued for 2 seconds)