Remove unneeded `case`

`:os.type/0` always returns a tuple in R16B
to_binary for URI.Info do not ignore the path
Merge pull request #1209 from mururu/rm-case

Remove unneeded `case`
Merge pull request #1211 from mururu/to-binary-uri-path

to_binary for URI.Info do not ignore the path