Create Fix File Verification Issues and Errors for Attachments in Windows 8: 

How to install and direct paperclip to find "file" program on Windows 8.1 -- likely works on any version of Windows where FILE is not installed.