(as well as the companion fixes to the develop branch pg#148 and webwork2#465).
I have merged those four pull requests into their respective branches. This will fix the read_whole_problem issue (and the fileFromPath) issue. As best we can tell there are no unwanted side effects. If you find one you can report it here and/or to bugzilla.
Anyone pulling the most recent version of the master branch or of the develop branch from github will get these patches automatically.