TIKA-1217 : Use File instead of InputStream for efficiency

Based on review by Nick Burch at:
https://issues.apache.org/jira/browse/TIKA-1217?focusedCommentId=13867228&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13867228