fixed sendfile and fastfile headers management