Fix file field saving