Generating slug based on filename for all the post

In order to keep retrocompatibility with mokacoding v1