update patterns for strip_files filter

- catch leading '/files' in href/src
- support regular links as well as images in markdown