[refs boto/boto#1302] - adds a return value to set_contents_from_filename