[TASK] Use promises to make FileManager asynchronous.
[FEATURE] Change default directory for contract_filesystem to be in $HOME.

This fixes permissions issues for globally installed CLI.