filelist: Try to do an update instead of always an insert

Rename add_to_filelist to update_filelist to better reflect what
it does now.

This is so we don't end up with duplicate rows if an already offline
filepath is re-processed as offline.