Fixed unreliable file closing in set_contents_from_filename and get_cont...

...ents_to_filename methods of boto.s3.key.Key