core: make sendfile behaviour switchable. Defaults to using the sendfile from Yaws.
See also http://erlang.org/pipermail/erlang-bugs/2013-October/003818.html