Fixed linux log file handling.