How do I reflect the fees on Form 8949 for ETFs which held actual precious metal commodities (e.g. PALL, PPLT, GLDM)?

1099-B only shows gross proceeds. The fund sells the commodity to cover fees, which I believe I can write off.