.config/awesome: fix terminal handling in helpers.