Make sure strncpy has null terminator