Detained Tamil publisher is freed