def WriteFile(self, file_path, file_data, access_mode='wb'):
    self._file_object = open(file_path, access_mode)
    self._file_object.write(file_data)
    self._file_object.close()
404 is returned if unknown pk is given.
dataset/ETHPy150Open libyal/libyal/scripts/source-generate.py/FileWriter.WriteFile--crossover with--dataset/ETHPy150Open caktus/django-scribbler/scribbler/tests/test_views.py/EditTestCase.test_invalid_pk