Use an url builder to simplify filelookup code.

_url() will ensure correct query building, encoding, query parameters are passed
as a dictionary