Update fileposition on write in AFPFile

Seems like AFPFile doesn't update its internal position on write (which was the old API of CFile) which makes it not behave consistently with the other vfs modules in mixed read/write scenarios.