Remove spaces from display of filename/password.