nil out NSErrors when you declare them

...otherwise you'll get random unallocated memory. Shout out to
@jeffh for diagnosing this one almost immediately.