   """
   @spec relative_to_cwd(t) :: binary
   def relative_to_cwd(path) do
-    case :file.get_cwd do
+    case :file.get_cwd() do
       {:ok, base} -> relative_to(path, IO.chardata_to_string(base))
       _ -> path
     end

  @spec absname(t, t) :: binary
  def absname(path, relative_to) do
    path = IO.chardata_to_string(path)
    case type(path) do
      :relative -> absname_join(relative_to, path)
      :absolute -> absname_join([path])
      :volumerelative ->
        relative_to = IO.chardata_to_string(relative_to)
        absname_vr(split(path), split(relative_to), relative_to)

  """
  @spec expand(t) :: binary
  def expand(path) do
    expand_dot(absname(expand_home(path), System.cwd!()))
  end

  @doc """
