I'm posting this not so much for Adam, but because I experienced a sort of similar issue and could not find this information anywhere. The difference is, when I edit a file via ssh, my permissions do not get altered; they were only getting altered when I saved a file over sshfs. I finally figured out the problem through lots of experimentation.
My sshfs mount point would chmod files to 777 every time I saved, until I changed my connection command to the following:
sshfs -o kill_on_unmount,defer_permissions,extended_security
Note the lack of umask in the option setting. Despite the fact that you're supposed to be able to use a umask option, when I had a umask option specified, my mount point would chmod files to 777 every time, no matter what that umask option was set to, no matter what my remote umask was set to, and no matter what my local umask was set to. Super irritating. As soon as I removed the umask option from the sshfs command and added defer_permissions instead, my umask settings were respected. If it wasn't for the dearth of information about this problem on the web, I'd think there was a bug with the umask option. Anyway, I hope this helps someone who has run into the same problem I had.
Michele