Correct syntax issues.

This code executes when a file cannot be moved.

fixed a couple of syntax issues line 298 and 299 (was trying to convert error to string which was causing an error when executing - IE an uncaught exception was raised.)


This is now inline with the rest of the error correcting code (see line 318/319)