Fix directory separator and ucfirst() behaviour