You are not the first one to mention the exact same problem.
http://forum.mikrotik.com/t/scripting-problems-email-upgrade-routerboard/182277/1
The error message clearly shows where the problem is: line 3, position 61
Put quotes around file name
file="backup1-gw.rsc"