Don't show temporary files in cp/files views.

From #4555.