when initializing the modem, allow the logdirname to be specified. This is to prevent 'EACCES: Permission denied' error when a process that uses the rubygsm library is called from God gem.