Make fstat() account for pending direct-write data when run on a pipe.