Upgrade DirectoryEncoder to make sure that this support cssprefixes for icons