Fixes: Cannot call method 'trim' of null

Fixes the first issue reported here: https://github.com/FamousTools/famous-dist-generator/issues/4

- Fixes path issue in isDesiredFile by replacing `/` with `path.sep`
- Adds logic to check if `convertAMDToCommonJS` returns `null` before adding it to `memo`