Fixes for EMongoFile class

I started to use EMongoFile and quite like your approach how to handle files. However, i spent the last hour debugging an exception when find()-ing EMongoFile instance when mongodb has not yet been used by any other model. Here's the patch.