Fixed how paths with spaces are handled. New test.