Implement File.SetAttributes to handle read-only files

Implement File.SetAttributes and make MockFileSystem.AddFile handle
read-only files