replace vim-strncpy with xstrlcpy