Fixed file.send API to work properly in Node 0.11