Corrects tm_fs_write to return 0 on success.
Merge #412 r=@kevinmehall: Corrects tm_fs_write to return 0 on success.