Update rddt_pimg.py

added file saving logic
Update rddt_pimg.py
added more debugging messages, fixed bug where parsed url would also parse empty string
Merge branch 'patch-2' of https://github.com/bdunlay/rddt_pimg
Merged in Brian's pull request #2 and fixed all of his mistakes.  Also fixed a logging message.
Formatting, renaming a long variable, and more descriptive logging