Write to mdns-devices.pdf and remove the tempfiles at the end.