#11 Preserve XML declaration when creating XML files