bug #2780: fix --csv flag for CLI in ruby 1.8.7