file protocol: fix body flashing