Fix typos
as_str_lossy -> to_str_lossy
enums are now namespaced