Fix for -i option in ack_cli.py command.

Rebased and pull-request again.