Fixes #4499 Adding upgrade file to re-create all htaccess files with the correct values.