Backport of pr #89 "carbon-cache cpu usage 100% when sent metric with too big name" to 0.9.x
Fixes #267
log.err is more suitable here
Merge pull request #1 from deniszh/0.9.x_bigfilename

0.9.x bigfilename fix
Merge pull request #294 from deniszh/0.9.x

0.9.x bigfilename fix