Add backwards compatibility for uploadFileChunk