Use webp in path only when webp is supported
Add path format version to file result storages

Test Plan:
make test