Revert "c_str"

This reverts commit 05aaacefa9db53958296ee2b953d1dcf95ea1123.
Revert "Revert "SVMRankModel ofstream""

This reverts commit 87787a6976b0c0b1eb5e6ab835a6a64d5b8cab26.
Ofstream