Use raw_convert rather than lexical_cast.