Update pi.download_file.php

Formatting.

Added "regex" option to support multiple domains/subdomains for replacement.