listed in answer
This thread from the Raspi forums might have some useful info.
In terms of the correct class, OutputStreamWriter looks like it’s doing a conversion you don’t need to happen. Your stream’s in bytes. It needs to stay that way.
Do you need a FileOutputStream?
EDIT: WHOOPS! Misread. You already have a fos. But for sure your writer is doing a conversion.