Utilize xstrncpy wrapper function where applicable.