separate header and impl of class PosixBufferFile