File bin close

Remarks
The end of a binary file is the position it was at when it was closed. Make sure the position is at the correct place when you close it.