fixed for Safari

Uint8Array returns object not function on Safari
Merge pull request #12 from girliemac/coremob

dataUrlToBlob fixed for Safari