Improve graphite sink to avoid "invalid line received from client".

The invalid line issue is that graphite sink is constantly sending to the graphite server the string "\n", even when it has not received any metrics and as a consequence it makes carbon give out errors.