Creating NSError object outside dispatched block in -notifyDelegateOfPosixError so that errno is captured and can't change.