Use temporary directories for checkout

Oterhwise file-conflicts will happen