It is indeed something strange and the documentation need to be improved. I submitted a report on that documentation page.
In the meanwhile the only way that I was able to get the file URL path was using this
File URL: {{ product.metafields.specs.pdf_file | file_url }}