Fixed param type in get_contents_to_filename docstring