create temporary directories in ghc-mod sub-directory

ghc-mod is creating multiple temporary directories in /tmp/ for each haskell
file opened. These empty directories are not removed on exit. This patch
creates these temporary directories in ghc-mod subdirectory.