fix all double to_string conversion failures by using sprintf method in all cases - closes #1741