Fixed issues compatability issues with case sensative file systems.