Add filter to append separator to assets

Appends a separator to assets before dumping to prevent merge failures, e.g. with a missing semicolon in a JS file. See owncloud/core#10327 for a real-world use case of this.