handle bad_lexical_cast and fix a comment
move internal implementation to stringize_ast.cpp