Fixes bug 977634 - use UPSERT for raw_crashes insert/update