search: Fix print calls to be compatible with 3.x
lang: Fix print calls to be compatible with 3.x