applied patch from and fixed #252, write_resume_data no longer throws when it shouldn't
applied patch from and fixed #252, write_resume_data no longer throws when it shouldn't

deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent