s3: ifdef sendfile code that's only used in other ifdef'ed sendfile code