Return type of str::from_utf8 has changed
from_str is deprecated