Fix warning for adding integer to string.

Clang warns on this construct and suggests using array indexing
to silence the warning.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>