Add a helper script for key file format conversion tests