issue #102: replaced Java 1.0 calls for file rename/delete with Java 1.7 calls that provide mode debug information in case of failure.