#495 Replaced strerror with strerror_r
#495 change buffer size from 256 to 1024
Merge pull request #521 from jubatus/feature/strerror_is_thread_unsafe

#495 Replaced strerror with strerror_r