Attempt input/output markup auto-detection based on file extension (closes #9)