Don't replaceTags for files dir, it contains binary data