Use of local for freedesktop modules

In order for easy transition to awesome 3.5 use of locals for
freedesktop module is also used