Add check_output for better Python 2.6 support
Use subprocess27 in tests
Bump version to 0.6.5