Updated manifest generation to encode the URLs to files so more special characters are allowed