Set the absolute path for recorddir.