added core hack to includes/file.inc for function file_transfer