Make `define_option` inheriable.
Add file resource.
remote_file and template resources inherit file resource.