Add proper extensions to aliases and functions files