Fix method name: read_to_str -> read_to_string

In one of the recent nightlies, `read_to_str` was renamed to
`read_to_string`. The PR fixes the spots where I noticed the old
usage.
Indentation changed here?