gsub out invalid filename chars instead of using a uuid