support default to ./index.[ext]

#23