Write log file in more sensible place