mkdir -p is not fully portable (according to Marc Crispin,