Fix for creating empty folders