minor fix BMC#16397: accept only .yaml when create xml