Bug 856017: apply actually create .tmp files, and ignore them in rsync; r=callek