get_char/1 exception handling - resolves #68