Restrict CLI configuration file rights to owner only

Close issue: Security weakness in config file creation #21