Update awful.util filesystem function calls to gears.filesystem function calls Rename getdir to get_dir for consistency
Also add the gears to make this more flexible in the future.