Add attribute for file extension 

and Chef 11 compatible attributes