Better retry handling

Handling the following:

2014-06-16 16:15:36 INFO   [Deploy Script]   +00:01.90 - Deleting from C:\MyApplication
2014-06-16 16:15:36 INFO   [Deploy Script]   +00:02.02 - Copying from ..\Content\Service to C:\MyApplication
2014-06-16 16:15:36 INFO   [Deploy Script]   Something went wrong, but we're going to try again. ;(
2014-06-16 16:15:36 INFO   [Deploy Script]   Access to the path 'C:\MyApplication\MyApp.dll' is denied.
2014-06-16 16:15:36 INFO   [Deploy Script]   Something went wrong, but we're going to try again. ;(
2014-06-16 16:15:36 INFO   [Deploy Script]   Could not find a part of the path 'C:\MyApplication\MyApp.dll'.
2014-06-16 16:15:36 INFO   [Deploy Script]   Something went wrong, but we're going to try again. ;(
2014-06-16 16:15:36 INFO   [Deploy Script]   Could not find a part of the path 'C:\MyApplication\MyApp.dll'.

The directory hadn't quite deleted, so the code to re-create didn't fire.
The 1st error is because it's deleting
The other 2 are because the directory now doesn't exist