Use a proc macro to observe the incremental session directory and do
something platform specific so that renaming the '-working' session
directory during finalize_session_directory will fail. On Unix,
change the permissions on the parent directory to be read-only. On
Windows, open and leak a file inside the `-working` directory.