This strategy is more expensive but required to handle the situation where the user can write to the existing file, but is not able to create new files using the same mode as the existing file, e.g. file could be group writable and but not owned by current user. Fixes #11.
#8 Released into Public Domain.
1. We now have the host default to localhost (again). For most users connecting back to their machine via SSH_CONNECTION will not work (because of NAT/firewall). 3. We now read environment variables after rmate.rc. 2. Previously if user set the host to anything other than ‘auto’ it would be set to ‘localhost’ (bug).