Enum.take_every/2 should throw an exception when the second argument is not positive

Fixed issue #2850.