Refactor code to use try-with-resource

Change-Id: I7eaeb7ce620984ca094c48376531306eb0c6fe11
(cherry picked from commit a420c6eabacb0d320bacb92372e0220b2570ebd6)
1 file changed
tree: 4a7aec28bc1122a3015a5eeb15802fa5d49b3e92
  1. src/
  2. BUCK
  3. LICENSE