Switched to strlcat() and strlcpy().

Suggested by idunham.