Oh my bad, my eyes lied to me. I was reading './tmp' not '.tmp' :)