Allow filter of product download file paths

Useful for modifying downloads on the fly based on order details.
Merge pull request #871 from EliaSarti/dev

Allow filter of product download file paths