Fixed process.None in writeCMSSWConfig, added syntax control in writeCrabConfig