Create strupdz, like strdup except works for nil. Use it. Fixes cores when splitting new-file hunks.