Fix for recursive directory creation on Linux (starting with /)