(strip_ctrl_codes): type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>