With a very recent Sage built from source on sage.math, I see what I
think is the same problem. I've opened a ticket:
http://trac.sagemath.org/sage_trac/ticket/9644
IMHO, we should try to fix the packages which don't accept spaces.
Currently there's code in Sage which removes the spaces. If there was an
environment variable like "SAGE_LEAVE_SPACES" then we could gradually fix the
packages which break with spaces. A space is a perfectly legal character in a
path, so we really should be solving the problems, not having a hack like this.
dave