Fixed pdf thumbnail command to deal with spaces in filenames