RandomForest: When importing from Hdf5, open file in read-only mode.

This commit avoids errors when importing RandomForest from read-only files:

RuntimeError: HDF5File.open(): Could not open or create file '/Users/bergs/SomeForest.h5'