fixed printing of j2k files with "-c 0", closes #294

It's kind of meaningless to supply that option with a raw codestream,
but if it's what the user wanted to do, then it's what the user wanted
to do.
merge branch 'issue294' into devel