Callback first parameter should be error object, fixes #4