Some optimization around file writes

- Eliminate code clone
- Delete file only if file exists
- Remove unnecessary FileWriter creation
- Eliminate empty file creation step
  following append call will create one when something is written

Change-Id: Ic911dfcc2109db848ab1a0f269963191b969c8c6
2 files changed
tree: 3149698ce81fcce727acbc244eb74f64cc22e939
  1. .gitignore
  2. .gitreview
  3. compiler/
  4. model/
  5. pom.xml
  6. runtime/
  7. serializers/
  8. tools/