Minor misc refactoring for stock import module

* Using `Utils` as a `Class`, instead of a `Role`
* Closing all the `IO::File` objects when done
* Commented out `String::Random` dependency