As soon as I'll be at my dev machine, I'll try to reproduce the error.
As as first indication, I would guess that by editing the file, it has been corrupted somehow: there isn't and there shouldn't be a character 239 in line 1 of gps.lua.
However, as character 239 may be part of an UTF-8 BOM, I suspect you saved it with some text editor which added to the text some encoding of its own. The file has to be pure text.
I fixed it, yes you were right, the error was due to using Windows Notepad to edit the file which used ANSI encoding. I edited using Notepad++ and it worked like a charm. Thanks for the help.