Replace spaces in uploaded filenames with hyphens

closes #2485
- use hyphens instead of underscores when santising filenames
- updated tests