Fix to remove read only files on windows