Use OS-agnostic path generation for images too