Fix file upload

Form data must be encrypted separately