CB-5722 [BlackBerry10] Update upload function to use native file object