Fix #292 exceptions not detected

The cause was that the ephemeral drive was used to store the exception, but the / drive for the tmp exception; and then the file.rename method fails because different drives
Or when the file can't be created, e.g. no access rights.