Strip-off file extension before require