Issue#14: Meteor 0.8.x and Blaze compatibility

Ported code to Meteor 0.8.x and Blaze as discussed in https://github.com/EventedMind/meteor-file/issues/14