Add file extension in local-rc files