Use shellwords to handle PDF filenames with spaces