Fix file transfer after Facebook refactor (#628)