Allow non-ASCII ref names when writing the info/refs file