fixed opening files in write mode when using unbuffered mode (filesystem.bufferChanges = false), fixes #144