MAINT: Change relative library imports to use dot syntax.

Testing with a Python 3 virtualenv uncovered more relative imports
that did not explicitly use the dot syntax.
MAINT: Use print function instead of print statement.

The loader module printed some warning messages, these could
be changed to use a logger, but for now convert to use the print
function for compatibility with Python 3.