Fix FxOS file api callbacks