Uniformize quotes and replace mkdir with makedirs