Changed error codes to errno in elliptics service