[cppmyth] Flushing transfer data

- Reset transfer status fields regardless bytes read
- Do flush only after success of seek operation
- New public member functions to handle transfer mutex