humidity_logger writes to file