fix create_files_db (suspend error)

add try/except block