chdkcamera: Make _flush_messages more robust
combine: Don't remove original files in case of problems