Fix for start-up error.

Fixes "Can't locate object method "autoflush" via package "IO::File"." error on start-up on my Gentoo box.