The package-generator code current leaks open file descriptors, this leads to large UT tests failing due to "Too many open files".