Use LOCK_EX for making the CDB MD5 file for sanity

* This is just in case RefreshCdbJsonFiles is run in parallel somehow

Change-Id: Iaec69def0a9f93eba7f5513083c05b9dfb0b7d78
Merge "Use LOCK_EX for making the CDB MD5 file for sanity" into production