added test case for filename with spaces
added double quotes to filename to allow white-spaces and options moved at the beginning of the pdfinfo call
undo option order changes