Bad filename pkg

Closes #3933.