Issue #2121031 by RoSk0, pingers, maijs: Error when trying to create empty file or destination directory not set