Fixed problem with file name generation when recording from URLs with no path