set the directory for swap files