Fix error reporting in notmuch_database_find_message_by_filename