[ets4.py] Move 'masterXML' to ets4.py.