strlen to std::string::length

Minor style nits!