Fixed fdtree_test_load to use fstream. Supplying input and query files now works.