fix filename sanitize method

Status Job ID Name Coverage
  Test
passed #1661
ruby
test

00:00:30