Avoid deprecated readAsBinaryString

As suggested by George in comment:

http://benno.id.au/blog/2009/12/30/html5-fileapi-jpegmeta#comment-827901975

avoid the use of readAsBinaryString by using readAsDataURL and
atob functions.