Add in basic checking to the output file parameter for sqlite.