[PATCH 09/11] cli/insert: add fail path to add_file_to_database