Make symlink:release an atomic operation

http://blog.moertel.com/posts/2005-08-22-how-to-change-symlinks-atomically.html