Fixed issue #20

My system does not have sendfile so I can't test it, but theoretically this will work. (I followed this example: http://www.informit.com/articles/article.aspx?p=23618&seqNum=13)
It could simply be ``#ifdef``, instead of a ``#ifndef`` and an ``#else``.