"load" did not pass the error to callback function (#14)

The "load" function threw an error when something went wrong even when
the function received a callback function.

The function now returns the error as first parameter of the callback
function if one is provided. It still throws an error when no callback
function is provided.