Why not just `dir.downcase`?