Fix problem with overreleased error

Make ```@autoreleasepool``` local, because it releases the error ```[NSError errorWithDomain:TAR_ERROR_DOMAIN code:TAR_ERROR_CODE_BAD_BLOCK userInfo:userInfo];``` and app crashes