Fix missing arg for _remote_chmod method.

Fixes #7892.