[revert] partial revert of this commit: 1eadbb996e6c7d271f1758975a91564f0abac1d0
         I realized that strncat is actually better here because it will 0 terminate the string always.