export/hazard:
export/hazard:

Updated a few isinstance checks (on file paths) to check if the var is
either basestring or buffer.


Former-commit-id: 85d888d3848bb7feb7474e196f314e62b1b5a1dd [formerly ab4273da7c3829d92cfba63cca5414811b6b358e]
Former-commit-id: 7e55fc44e517c89c1d27b8e7d8134efed27331b1
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine