remove spaces/tabs from filename.