fixes #238 for real this time. Previous fix's test did not cover file paths, and failed on these. Url rewriting for urls in included content now works properly