Small cleanup in utils directory.

Changed strings to const references.
Removed unneeded string copies.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
Merge pull request #59 from lgromanowski/cleanup

Small cleanup in utils directory.