scripts: new script to fix common record errors.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>