textwrap: refactor word_wrap() out of utils

utils is too heavy.

Signed-off-by: David Aguilar <davvid@gmail.com>