extract scripts/myrial's fake catalog as a utility

catalog from file is useful. 
The myrial version of sp2bench suite is in another repository, but it depends on this change. 
(as future work -- add an issue?)