Date tokens for file path
Configuration > Regional and Language > Date and Time

Check what your default Short time format is. If its being printed with spaces, it could be part of the problem. 
You could add a new date type, and see if that fixes anything.

The easy way around this, is when managing the image and file upload CCK fields, just specify a directory for those images in the field settings there.