Used new LOCALE_PATH setting instead of literal string
Code cleaned (some PEP warnings)
write_file function try create path if not exists (with 0777 mode)
Class use TMP_PATH setting to create message files
DOC_PATH setting replaces literal string

LOCK_FILE and ERROR_FILE use TMP_PATH setting

SOFTWARE_FILE and ICON_PATH have moved to settings.py
New DOC_PATH and LOCALE_PATH settings to replace literal strings

SOFTWARE_FILE and ICON_PATH have moved from client.py

SOFTWARE_FILE has changed path (from /var/log/ to /var/tmp/)