pymapistore: Add attachment implementation