Have JsonWriter open file in write mode