lalapps_run_sqlite:  fix filetype detection on SL6