Fix windows file extensions [closes #861]