Add support for arbitrary file types

Copy arbitrary file types that are not compiled (e.g. images, etc),
appending md5 hashes to their names, so that they too can benefit from
indefinite caching.