fix wp rewrite flush --hard doesn't generate .htaccess
Merge pull request #1023 from francescolaffi/fix-790

fix wp rewrite flush --hard doesn't generate .htaccess