bin/pima_coher.py: Use temporary fri and frr files.