fs/testing: fix FakeFile.Write behavior after Truncate

Fix #426.
fs/testing: fix FakeFile.WriteString