Fix Bazel incompatible issues (#19)
Fix Bazel incompatible issues (#19)

- Reformat bzl file
- Remove FileType
- Update code the new actions API
- Replace `list(deps)` with `deps.to_list()`

Tested:
`bazel test //... --all_incompatible_changes --incompatible_depset_is_not_iterable=false --incompatible_depset_union=false`
bazelbuild/rules_d