Use "with open" to make sure files are closed and handles are released in case of an error
Merge pull request #1 from Prinz23/use_with_open

Use "with open"
updated to meet new script format in 13.0 rev 1012
Merge branch 'master' of https://github.com/vergessen/nzbgetpp
order add error checking for split, could fail on files without a ext
add option to remove zip before nzbget marks as completed.  Allows to upload zips with the same name
that some sites like to spit out.
.
rewrite of the unzip.py script:

- only nzb are extracted
- all parameters are set for the included nzbs
- parameter DupeKey, DupeScore, DupeMode require NzbGet 14 r1146+