Fix wrongly placed mode handling for concatenated output
Fix wrongly placed mode handling for concatenated output

dvidelabs/flatcc,skhoroshavin/flatcc,dvidelabs/flatcc,skhoroshavin/flatcc,skhoroshavin/flatcc,dvidelabs/flatcc