Fixed possible non ASCII value in metadata causing an exception.