Store off reference to this for use with callbacks

In _safeSetDataURI forgot to save off reference to this so callbacks
could keep a reference to the original this.