convert data url to blob when the stored photo is a data url (should probably moved to iDB directly)