Fix GraphImportController to close file streams

Fixes "java.io.IOException: Too many open files" error