encperf, decperf: catch fopen() errors
This prevents unhandled exceptions if the file isn't found.
2 files changed