add fix for typo in haxe.Http.fileTransfer, while also providing backwar...

...ds compatibility

This is the continuation from the #2399.