re: msvcp90: handle npos as a len in basic_string<>::replace