strncpy() -> estrndup()

Quick fix to change `strncpy()` to `estrndup()`, didn't see any other instances.  Feel free to leave this open if you find other issues.