NXP-10745: fix outputstream writing in export download action