Write into temp dir to keep repository clean