update for rename of methods from str to string

Fixed things so that it works, at least for me on the latest windows nightly.