the convertToFileBackedBlob() function was a workaround and has just been removed. So you can just call endPick(blob) and you don't need this if/else