Fix log file bug when extension installed in widesys (root access)