Fix file dropping

Wrap FileReader.onload in operation.