[dock] Use IOError in place of FileNotFoundError

FileNotFound is Python 3 only, therefore use its base class
to be compatible with both versions of Python.
7 jobs for fix_file_not_found_unkown_exception in 69 minutes and 32 seconds (queued for 3 seconds)