[#1785] Fix some resource leaks (close FileInputStream, or other object)

* Code cleanup: Remove unused import

[Lighthouse #1785](http://play.lighthouseapp.com/projects/57987-play-framework/tickets/1785-resource-leaks-some-stream-are-not-closed-after-use)