[HOTFIX] use temp folder for checkpoint

or Jenkins will complain about no Apache header in checkpoint files. @tdas @rxin