Refactor write_logs_to_temp for debugging

- Setup logger
- Wrap up get_contents_to_filename up in a try/except
- Warn of failures
- Collect name of failed logs
- Return names of failed logs
- Report names of failed logs in warning facility
Add get_logger function
Refactor remove_raw_logs

- Pass failed logs to function
- Blow up list comp
- Skip failed logs
- Wrap up delete in try/except
- Skip logs that failed to delete
Only need to keep the name, not the whole object.
Merge pull request #9 from python/refactor_write_logs_to_temp

Refactor write logs to temp