Fix auto test
Fix auto test

When copying a resource file to the native file system the (read-only)
permissions also get copied. On Windows platforms, this was preventing a
test file from being deleted.

Reviewed-by: Peter Hartmann
Reviewed-by: Thiago

igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,KDE/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,KDE/qt,radekp/qt,radekp/qt,KDE/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,KDE/qt,radekp/qt,KDE/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,KDE/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,RLovelett/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,KDE/qt,KDE/qt,radekp/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk