Fixed Rakefile by adding encoding & changed page permalinks