fixed some lettercase file/folder bugs for non-windows platforms