Fix grab

In some cases the filename was broken. If it had a comma for example. Maybe you have a better way of doing it?