[core] revert increase of temp file size back to 1MB, provide a configure option...