[GATEWAY] Cut over MetaDataStateFormat to Path API

This could be deleteIfExists