Fixed creating the path for media files based on the language used

  by the block