IO.* methods return type if path doesn't exist