Fix clang compile warnings
Delete white spaces
Make string 'write_rate_str' const
Not needed to nullify string if we exit anyway