Fix OpenELEC shell scripts to handle args with spaces correctly