also move empty folders to the trash bin

also move empty folders to the trash bin as discussed here #4590

cc @jancborchardt @DeepDiver1975