More inclusive defaults

Minor tweaks so that the code matches php-cs-fixer's default output.
Add support for Windows-style `$HOMEDRIVE/$HOMEPATH` home directory environment variable.
Use `sys_get_temp_dir()` instead of hardcoding `/tmp` to better support OS X (and others).