dir.to_sym + also check for tmp dir