Add file extensions where necessary to assets