Workaround for http://flexget.com/ticket/2002
Merge pull request #38 from TMaYaD/patch-1

Workaround for http://flexget.com/ticket/2002, http://flexget.com/ticket/1954, http://flexget.com/ticket/1315