I'm not sure this is the right place for this.

endPick is called as a callback to photodb.getFile().  In that case, the blob that is passed presumably already has a name, and it is unnecessary to wrap it like this.

Instead, howe about modifying ImageEditor.js:getCroppedRegionBlob() so that it uses the new File() construtor to give a name to the cropped blob.