Added workaround for File.rename bug with JRuby (jira.codehaus.org/browse/JRUBY-3381), based on the code from Lenny Marks 03/Jun/10. Also added a safer (JRuby-workaround oriented) copy method.
Added workaround for File.rename bug with JRuby (jira.codehaus.org/browse/JRUBY-3381),
based on the code from Lenny Marks 03/Jun/10.
Also added a safer (JRuby-workaround oriented) copy method.

net7/talia_core,net7/talia_core,net7/talia_core