Fix GCC warnings in FileStream