broken fileReader in iOS8

readAsDataURL always throws an error in iOS8