fix --output-file flag to use JAnsi