Fixes #46. Set deleteOnExit() after creating the library file