Cron uploader bug fixes

- upload_key class variable
- Directory permission to 775 by default
- Only generate key when there is no key yet