Change the folder hash algorithm

Calculate the folder hash by connecting all subfolder and file names with
hyphens instead of applying `md5_hash()` to each resource.