Close output files properly when copying source files

I am trying to track down a problem where sometimes, especially if the build is running on Jenkins, one of my .clj files is not being included into a .jar file. I am not sure if a failure to close a file may cause this. But it may be a good fix to have regardless.