Send to Cubeupload: fix extension detection + error-on-success bugs