Fix issue where product attached files might not be saved (or erased on an update)