Editing widgets via the admin widget editor throws an error because the ~ prefix convention is not removed before path to the file is resolved.
https://github.com/Ortus-Solutions/ContentBox/commit/ac8c9fc160ac94cb33de0e6bac8e9b3e8d2d7d7d