fails:File.dirname rejects strings encoded with non ASCII-compatible encodings
fails:File.dirname works with all ASCII-compatible encodings
