Rename directory functions.d -> functions