Improve exr error codes, remove raw wrong tests
Raw is an import-only format, so export tests shouldn't be used.
Exr returned Failure before, now it returns ErrorWhileReading or
ErrorWhileWriting. Tests were changed to allow for that sitation
(since exr filter doesn't know whether it can't read the file or
just parse it).