Make logfile path machine-independent

Should solve #10.