Extension Installation fixes: synchronous directory creation and remove leftover files

Fixes for #3734 and #3735 by using sync directory creation and removing leftover files from failed installations.

(Also includes a harmless update to the latest version of graceful-fs which has an updated readme)