Fix bug with space in file path