fs: typo. return read-only file by looking at req flags, not res flags.

Change-Id: I2093f381b99c6ef55a20b88e0bcaade97a3529c7
fs: mutable file append tests

Change-Id: Ibc1b31e7ccc187a92aa1fc8c205b779735126387