Files: Fix XSS when creating dropshadow