Fix for logging: actually require fs