tmp -> .tmp, bin -> .bin