create tmp files in separate dir