Tidying the defquery-generated arglist.
Adding some TODO markers.
Throwing an exception for invalid file paths.
We now handle 'x in (?,?,?)'-style queries.