NRML parsers/writers should be able to accept either file paths or file-like objects

Addresses https://bugs.launchpad.net/oq-nrmllib/+bug/1202131

It turned out that the only changes required were for the writers; all of the parsers were constructed to either accept a file path as a string or some sort of file-like object.