Add extension to filename unless it ends with .(less|css) .