inspiral.py: support offline gracedb mode where a file:// url causes the output to be written to disk