Fixed handling of Content-Type when tunneling a file