Use .tmp and make tests pass.