Fix EZP-22808: BinaryFile fields loose value when updated via API

This PR resolves issue https://jira.ez.no/browse/EZP-22808