More bug fixes for SABnzbd scripts.