style, also making writes sync to avoid possible (but unlikely) situation where files aren't written but testing kicks off