MRQL-50: Fix result dumping to a text file in Flink mode