s3: Convert is_visible_file to use talloc_asprintf instead of malloc